import React from 'react'
import { Table, Tag, Space } from 'antd';

class ListSubTable extends React.Component{
    render(){
        const columns = [
            {
              title: '分区/重量段(kg)',
              dataIndex: 'name',
            //   render: text => <a>{text}</a>,
            },
            {
              title: '最低价格',
              className: 'column-money',
              dataIndex: 'money',
              align: 'center'
            },
            {
              title: '0-300(单价)',
              dataIndex: 'address',
              align: 'center'
            },{
                title: '300-500(单价)',
                dataIndex: 'address',
                align: 'center'
              },
              {
                title: '500-1000(单价)',
                dataIndex: 'address',
                align: 'center'
              },
              {
                title: '1000以上(单价)',
                dataIndex: 'address',
                align: 'center'
              },{
                title: '服务时效(小时)',
                dataIndex: 'address',
                align: 'center'
              },{
                title: '响应时效(小时)',
                dataIndex: 'address',
                align: 'center'
              },
          ];
          
          const data = [
            {
              key: '1',
              name: '中国/上海市/上海市/黄浦区中国/上海市/上海市/静安区',
              money: '￥300,000.00',
              address: '0.9',
            },
            {
              key: '2',
              name: '中国/上海市/上海市/普陀区中国/上海市/上海市/虹口区中国/上海市/上海市/杨浦区',
              money: '￥1,256,000.00',
              address: '0.9',
            },
            {
              key: '3',
              name: '中国/浙江省/嘉兴市',
              money: '￥120,000.00',
              address: '0.9',
            },
            {
              key: '3',
              name: '中国/浙江省/湖州市',
              money: '￥120,000.00',
              address: '0.9',
            },
          ];
        return(
            <div>
                <Table columns={columns} dataSource={data} bordered />
            </div>
        )
    }
}
export default ListSubTable